-- GENERATED SPELL FOR [Wild Grell] --


function spell0_2190(pUnit, Event) --@Crazed,Self--
pUnit:FullCastSpellOnTarget(5915,pUnit)
pUnit:RegisterEvent('Sorts_2190', 570, 1)
end

function Sorts_2190(pUnit, Event)
local choix_sorts_2190 = math.random(0, 0)
if choix_sorts_2190 == 0 then
pUnit:RegisterEvent('spell0_2190', 1, 1)
end
end

function mob2190_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2190', math.random(1500, 3000), 1)
end

function mob2190_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2190_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2190_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2190, 1, 'mob2190_Action')
RegisterUnitEvent(2190, 2, 'mob2190_Leave')
RegisterUnitEvent(2190, 3, 'mob2190_Kill')
RegisterUnitEvent(2190, 4, 'mob2190_Die')
